package com.qfedu.index.tolist.service.dao;

import com.qfedu.entity.Room;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface RoomListDAO {

    public Room getRoomByRid(Integer rid);

    public List<Room> selectRoomByCityId(Integer cid);

    public List<Room> getRoomsBySpId(@Param("specialId") Integer specialId, @Param("pageNum") Integer pageNum, @Param("pageSize") Integer pageSize);


}
